Attaching included behaviors to sprites and frames